Function Main(Player As LONG, Exp As LONG) As LONG
   'Set main to Stop for no exp gain
   'Set Main to continue for Normal exp gain
   'set main to any other value to gain that particular amount of exp
   Main = Continue
End Function